package com.linzt.candy.wxmp.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.linzt.candy.common.core.web.domain.BaseEntity;

/**
* @Author linzt
* @Date 2020/12/23 2:50 下午
* @Description TODO
* @Version 1.0
*/
@TableName("tb_wx_mp_template_send")
public class WxMpTemplateSend extends BaseEntity {

    /**
     * ID
     */
    @TableId(type = IdType.AUTO)
    private String id;

    /** 标题 */
    private String title;

    /** 微信appid */
    private String appId;

    /** 模板id */
    private String templateId;

    /** 模板名称 */
    private String templateName;

    /** 模板参数 */
    private String templateValue;

    /** 发送模式 */
    private String type;

    /** 标签 */
    private String tagId;

    /** openid */
    private String openid;

    /** 跳转方法 */
    private String redirectType;

    /** 跳转链接 */
    private String redirectUrl;

    /** 小程序appid */
    private String miniappAppid;

    /** 小程序跳转链接 */
    private String miniappUrl;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getAppId() {
        return appId;
    }

    public void setAppId(String appId) {
        this.appId = appId;
    }

    public String getTemplateId() {
        return templateId;
    }

    public void setTemplateId(String templateId) {
        this.templateId = templateId;
    }

    public String getTemplateName() {
        return templateName;
    }

    public void setTemplateName(String templateName) {
        this.templateName = templateName;
    }

    public String getTemplateValue() {
        return templateValue;
    }

    public void setTemplateValue(String templateValue) {
        this.templateValue = templateValue;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getTagId() {
        return tagId;
    }

    public void setTagId(String tagId) {
        this.tagId = tagId;
    }

    public String getOpenid() {
        return openid;
    }

    public void setOpenid(String openid) {
        this.openid = openid;
    }

    public String getRedirectType() {
        return redirectType;
    }

    public void setRedirectType(String redirectType) {
        this.redirectType = redirectType;
    }

    public String getRedirectUrl() {
        return redirectUrl;
    }

    public void setRedirectUrl(String redirectUrl) {
        this.redirectUrl = redirectUrl;
    }

    public String getMiniappAppid() {
        return miniappAppid;
    }

    public void setMiniappAppid(String miniappAppid) {
        this.miniappAppid = miniappAppid;
    }

    public String getMiniappUrl() {
        return miniappUrl;
    }

    public void setMiniappUrl(String miniappUrl) {
        this.miniappUrl = miniappUrl;
    }

    @Override
    public String toString() {
        return "WxMpTemplateSend{" +
                "id='" + id + '\'' +
                ", title='" + title + '\'' +
                ", appId='" + appId + '\'' +
                ", templateId='" + templateId + '\'' +
                ", templateName='" + templateName + '\'' +
                ", templateValue='" + templateValue + '\'' +
                ", type='" + type + '\'' +
                ", tagId='" + tagId + '\'' +
                ", openid='" + openid + '\'' +
                ", redirectType='" + redirectType + '\'' +
                ", redirectUrl='" + redirectUrl + '\'' +
                ", miniappAppid='" + miniappAppid + '\'' +
                ", miniappUrl='" + miniappUrl + '\'' +
                '}';
    }
}